export const data = {
  form: {},
  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    taskId: null,
    taskType: null,
    taskSubType: null,
    fromContNo: null,
    toContNo: null,
    fromPosition: null,
    toPosition: null,
    curPosition: null,
    taskStatus: null,
    spuNo: null,
    lotNo: null,
    ebeln: null,
    ebelp: null,
    planQty: null,
    actualQty: null,
    masterId: null,
    masterNo: null,
    detailId: null,
    stockId: null,
    stationNo: null,
    comments: null
  },
}

export const column = [
  { prop: "taskId", label: "任务ID", width: 80, minWidth: 50 },
  { prop: "taskType", label: "任务类型", width: 80, minWidth: 50 },
  { prop: "taskSubType", label: "子类型", width: 80, minWidth: 50 },
  { prop: "fromContNo", label: "托盘条码", width: 80, minWidth: 50 },
  { prop: "fromPosition", label: "起始位置", width: 135, minWidth: 50 },
  { prop: "toPosition", label: "目标位置", width: 135, minWidth: 50 },
  { prop: "curPosition", label: "当前位置", width: 135, minWidth: 50 },
  { prop: "taskStatus", label: "任务状态", width: 80, minWidth: 50 },
  { prop: "spuNo", label: "物料编号", width: 135, minWidth: 50, showOverflow: true },
  { prop: "spuName", label: "物料名称", width: 135, minWidth: 50, showOverflow: true },
  { prop: "planQty", label: "计划数量", width: 80, minWidth: 50 },
  { prop: "actualQty", label: "实际数量", width: 80, minWidth: 50 },
  { prop: "lotNo", label: "批次编号", width: 135, minWidth: 50 },
  { prop: "masterNo", label: "关联主单", width: 80, minWidth: 50, showOverflow: true },
  { prop: "detailId", label: "关联明细", width: 80, minWidth: 50 },
  { prop: "stockId", label: "关联库存", width: 80, minWidth: 50 },
  { prop: "stationNo", label: "作业站台", width: 135, minWidth: 50 },
  { prop: "createName", label: "创建者", width: 80, minWidth: 50 },
  { prop: "createDate", label: "创建时间", width: 180, minWidth: 150 },
  { prop: "updateName", label: "更新者", width: 80, minWidth: 50 },
  { prop: "updateDate", label: "更新时间", width: 180, minWidth: 150 },
  { prop: "comments", label: "备注信息", width: 100, minWidth: 50, showOverflow: true },
  { prop: "operate", label: "操作", fixed: "right", type: 'detail;delete', width: 150 },
]
export const formList = [
  { prop: "fromContNo", label: "来源容器" },
  { prop: "fromPosition", label: "起始位置" },
  { prop: "toPosition", label: "目标位置" },
  { prop: "curPosition", label: "当前位置" },
  { prop: "taskStatus", label: "任务状态", type: 'select' },
  { prop: "spuNo", label: "物料编号" },
  { prop: "spuName", label: "物料名称" },
  { prop: "stockId", label: "库存ID" },
  { prop: "stationNo", label: "作业站台" },
  { prop: "comments", label: "备注信息" },
]